package bocchi.card;

import bocchi.BocchiCore;
import bocchi.base.BaseCustomCard;
import bocchi.general.Util;
import bocchi.power.ResolvePower;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;

public class Rehearsal extends BaseCustomCard {
    private static final String RAW_ID = Rehearsal.class.getSimpleName();
    public static final String GAME_ID = BocchiCore.getGameID(RAW_ID);

    public Rehearsal() {
        super(RAW_ID);
    }

    @Override
    public void use(AbstractPlayer player, AbstractMonster monster) {
        Util.damage(player, monster, damage);
        Util.applyPower(player, player, new ResolvePower(player, magicNumber));
    }
}
